<div class="second-sidebar-title">{$_W['_plugin']['title']}</div>
<div class="nav slimscroll">
	{ifp 'deliveryCard.order'}
		<div class="menu-header">订单</div>
		<ul class="menu-item">
			<li {if $_W['_action'] == 'order'}class="active"{/if}>
				<a href="{php echo iurl('deliveryCard/order/list');}">购买记录</a>
			</li>
		</ul>
	{/if}
	{ifp 'deliveryCard.setmeal'}
		<div class="menu-header">会员卡套餐</div>
		<ul class="menu-item">
			<li {if $_W['_action'] == 'setmeal'}class="active"{/if}>
				<a href="{php echo iurl('deliveryCard/setmeal/list');}">套餐列表</a>
			</li>
		</ul>
	{/if}
	{ifp 'deliveryCard.config' || 'deliveryCard.cover'}
		<div class="menu-header">设置</div>
		<ul class="menu-item">
			{ifp 'deliveryCard.config'}
				<li {if $_W['_action'] == 'config'}class="active"{/if}>
					<a href="{php echo iurl('deliveryCard/config/index');}">会员卡设置</a>
				</li>
			{/if}
			{ifp 'deliveryCard.cover'}
				<li {if $_W['_action'] == 'cover'}class="active"{/if}>
					<a href="{php echo iurl('deliveryCard/cover/index');}">入口设置</a>
				</li>
			{/if}
		</ul>
	{/if}
</div>
